package cn.wanho.dto;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 判断题表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamTfSubject implements Serializable {
    /**
    * 判断题id
    */
    private Long id;

    /**
    * 排序
    */
    private Integer sort;

    /**
    * 判断题内容
    */
    private String tfContent;

    /**
    * 填空题答案 true or false
    */
    private Byte tfAnswer;

    /**
    * 分值
    */
    private Integer score;

    /**
    * 是否可用
    */
    private Byte isFlag;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public ExamTfSubject(String tfContent, Byte tfAnswer,Integer score) {
        this.tfContent = tfContent;
        this.tfAnswer = tfAnswer;
        this.score = score;
    }
}